A shareware fee of $5 is requested for use of ReportDepth in personal or freeware projects. A $10 fee entitles you to use the XFCN in any number of shareware, in-house, or custom applications that you make for your employer or any of your clients, provided that neither your employer, nor any of your clients re-sell the application in which ReportDepth is used. If you intend to use the XCMD in an application that will be sold on a general or retail basis, contact the author at mklink@aol.com to negotiate a fee.
Registering your copy of ""ReportDepth 1.0" now will entitle you to use all future versions without additional fees.
ReportDepth is an XFCN that allows you to determine the current mode and bit depth of any monitor attached to a system. ReportDepth will also allow you to test whether a monitor supports a particular mode and bit depth. In addition, ReportDepth can report the rect of any monitor in terms of global coordinates
Check the stack script of to see an example of how ReportDepth might be used. This stack has been colorized using Apple's AddColor XCMD. If, after having already called AddColor, you use the monitors control panel to set the number of colors from 256 to 16 or fewer colors, AddColor will do a relatively good job of re-mapping the colors. However, if you set the monitor to a low bit depth before you call AddColor, AddColor may turn the card black! In order to prevent this from happening, this stack uses ReportDepth to check the setting of the main monitor when the stack first opens. If the monitor is set to 256 colors or more, AddColor will be installed. Otherwise, AddColor will not be installed.